﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.AUTO.Adjust.Dto
{
    public class ExportCPUAdjustOutput
    {
        /// <summary>
        /// 流程编号
        /// </summary>
        [ExporterHeader(DisplayName = "流程编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 销售组织
        /// </summary>
        [ExporterHeader(DisplayName = "销售组织")]
        public string SaleRegion { get; set; }

        /// <summary>
        /// 事业部
        /// </summary>
        [ExporterHeader(DisplayName = "事业部")]
        public string AppoverType { get; set; }

        /// <summary>
        /// 行业
        /// </summary>
        [ExporterHeader(DisplayName = "行业")]
        public string AutoType { get; set; }

        /// <summary>
        /// 细分市场
        /// </summary>
        [ExporterHeader(DisplayName = "细分市场")]
        public string AutoType2 { get; set; }

        /// <summary>
        /// 商机号
        /// </summary>
        [ExporterHeader(DisplayName = "商机号")]
        public string BusinessOpportunities { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        [ExporterHeader(DisplayName = "客户名称")]
        public string CustomerName { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        [ExporterHeader(DisplayName = "客户编码")]
        public string CustomerNo { get; set; }

        /// <summary>
        /// 客户分级
        /// </summary>
        [ExporterHeader(DisplayName = "客户分级")]
        public string CustomerRank { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [ExporterHeader(DisplayName = "创建人")]
        public string UserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [ExporterHeader(DisplayName = "创建时间")]
        public string CreateTime { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>        
        [ExporterHeader(DisplayName = "单据状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 同步状态
        /// </summary>        
        [ExporterHeader(DisplayName = "同步状态")]
        public string SyncStatus { get; set; }

        /// <summary>
        /// 同步状态名称
        /// </summary>        
        [ExporterHeader(DisplayName = "同步状态名称")]
        public string SyncStatusName { get; set; }

        /// <summary>
        /// 价格有效截止日期
        /// </summary>
        [ExporterHeader(DisplayName = "价格有效截止日期")]
        public string PriceEndtime { get; set; }

        /// <summary>
        /// 盘点和结算的月份
        /// </summary>
        [ExporterHeader(DisplayName = "盘点和结算的月份")]
        public string SettlementMonth { get; set; }

        /// <summary>
        /// 盘点人名称
        /// </summary>
        [ExporterHeader(DisplayName = "盘点人名称")]
        public string ApproverName { get; set; }

        /// <summary>
        /// 盘点日期
        /// </summary>
        [ExporterHeader(DisplayName = "盘点日期")]
        public string ApproveTime { get; set; }

        /// <summary>
        /// 销售行政专员
        /// </summary>
        [ExporterHeader(DisplayName = "销售行政专员")]
        public string XSXZZYName { get; set; }

        /// <summary>
        /// 结算调整Total
        /// </summary>
        [ExporterHeader(DisplayName = "结算调整Total")]
        public string SettlementAdjustTotal { get; set; }

        /// <summary>
        /// 结算Total
        /// </summary>
        [ExporterHeader(DisplayName = "结算Total")]
        public string SettlementTotal { get; set; }

        /// <summary>
        /// 本月结算产品整体RMC（移动平均价）
        /// </summary>
        [ExporterHeader(DisplayName = "本月结算产品整体RMC（移动平均价）")]
        public string TotalRMCRatio { get; set; }

        /// <summary>
        /// 本月结算产品整体RMC2（最新采购价）
        /// </summary>
        [ExporterHeader(DisplayName = "本月结算产品整体RMC2（最新采购价）")]
        public string TotalRMC2Ratio { get; set; }

        /// <summary>
        /// 本月结算产品整体毛利（移动平均价）
        /// </summary>
        [ExporterHeader(DisplayName = "本月结算产品整体毛利（移动平均价）")]
        public string TotalGrossProfit1 { get; set; }

        /// <summary>
        /// 本月结算产品整体毛利2（最新采购价）
        /// </summary>
        [ExporterHeader(DisplayName = "本月结算产品整体毛利2（最新采购价）")]
        public string TotalGrossProfit2 { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [ExporterHeader(DisplayName = "备注")]
        public string Remark { get; set; }

        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }
    }
}
